package com.gaofeng.day12;

public class demo02 {
    public static void main(String[] args) {
        PhoneTest ph = new PhoneTest();

        ph.brand = "小米";
        ph.price = 1999.98;

        System.out.println(ph.brand);
        System.out.println(ph.price);

        ph.call();
        ph.playGame();


        PhoneTest ph2 = new PhoneTest();
        ph2.brand="苹果";
        ph2.price = 8999.00;

        System.out.println(ph2.brand);
        System.out.println(ph2.price);

        ph2.call();
        ph2.playGame();

        GirlFrirend gf = new GirlFrirend();
        gf.name = "张三";
        gf.age = 18;
        gf.gender = "女";

        gf.sleep();
        gf.eat();
    }
}
